<template>
    <div class="download">
        <StateBar></StateBar>
        <TitleHeader title="APP下载" color="#518CDB" />

        <AutoView :header="true" :footer="false" class="download--view">
            <van-image class="icon" fit="cover" :src="img" />
        </AutoView>

        <ButtonFooter text="下载 APP" @click="onTap"></ButtonFooter>
    </div>
</template>

<script>
export default {
    name: 'download',
    components: {},
    data() {
        return {
            img: '/static/icon/download.jpg'
        };
    },
    methods: {
        onTap() {
            // top.location.href = this.HTTP.getAppStore();
        }
    },
    beforeMount() {
        this.JSBridge.callHandler('switchNavbar', false);
        this.JSBridge.callHandler('setStatebarTheme', 'black');
    }
};
</script>

<style lang="scss" scoped>
.download {
    height: 100vh;
    #{&}--view {
        text-align: center;
    }
}
</style>
